package com.intelligent.mts.da.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by julia on 16/7/26.
 */
@Component
public class SystemConfig {

    @Value("#{sysconfig[SERVER_IP]}")
    private String serverIp;

    @Value("#{sysconfig[SERVER_PORT]}")
    private Integer serverPort;

    @Value("#{sysconfig[FLOWS]}")
    private String flow;

    @Value("#{sysconfig[FLOWS_SU]}")
    private String flowSu;

    @Value("#{sysconfig[LINK_SNS]}")
    private String linkSns;

    @Value("#{sysconfig[TEST_STATION]}")
    private String testStations;

    public String getTestStations() {
        return testStations;
    }

    public void setTestStations(String testStations) {
        this.testStations = testStations;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public Integer getServerPort() {
        return serverPort;
    }

    public void setServerPort(Integer serverPort) {
        this.serverPort = serverPort;
    }

    public String getFlow() {
        return flow;
    }

    public void setFlow(String flow) {
        this.flow = flow;
    }

    public String getFlowSu() {
        return flowSu;
    }

    public void setFlowSu(String flowSu) {
        this.flowSu = flowSu;
    }

    public String getLinkSns() {
        return linkSns;
    }

    public void setLinkSns(String linkSns) {
        this.linkSns = linkSns;
    }
}
